import baseurl from './env'
import request from './req'


// 报案列表
export const getreportinghandlingapi = async (data: any) => {
    let res = await request.get('/crm/record/get-reporting-handling', { params: data })
    return res
}

// 报案信息详情
export const getreportdetailsapi = async (data: any) => {
    let res = await request.get('/crm/record/get-report-details', { params: data })
    return res
}

// 离到期30天
export const getpayremindsevendaysdueapi = async (data: any) => {
    let res = await request.get('/crm/record/pay-remind-seven-days-due', { params: data })
    return res
}

// 已过期7天内
export const getpayremindoutsevendateapi = async (data: any) => {
    let res = await request.get('/crm/record/pay-remind-out-seven-date', { params: data })
    return res
}


// 日日保和团意保
// 已投保客户
export const getremindinsurecustomerapi = async (data: any) => {
    let res = await request.get('/crm/record/remind-insure-customer', { params: data })
    return res
}

// 未投保客户
export const getreminduninsurecustomerapi = async (data: any) => {
    let res = await request.get('/crm/record/remind-uninsure-customer', { params: data })
    return res
}

// 长期保
// 已投保客户
export const getgetperiodinsuredcustomerapi = async (data: any) => {
    let res = await request.get('/crm/record/get-period-insured-customer', { params: data })
    return res
}

// 未投保客户
export const getgetperioduninsuredcustomerapi = async (data: any) => {
    let res = await request.get('/crm/record/get-period-uninsured-customer', { params: data })
    return res
}

// 获取长期保用户明日扣费余额不足的客户
export const getgetbalanceinsufficientapi = async (data: any) => {
    let res = await request.get('/crm/record/get-balance-insufficient', { params: data })
    return res
}